package com.clqteam.serviceimpl;

import com.clqteam.dao.ShowEmployeeDao;
import com.clqteam.daoimpl.ShowEmployeeDaoImpl;
import com.clqteam.service.ShowEmployeeService;

import net.sf.json.JSONObject;
 
     
public class ShowEmployeeServiceImpl implements ShowEmployeeService{
	ShowEmployeeDao shDao=new ShowEmployeeDaoImpl();

	@Override
	public JSONObject findEmployeeInfo(int page, int rows) {
		JSONObject js=new JSONObject();
		js.put("total", shDao.getEmployeeCountByeId());
		js.put("rows", shDao.getEmployeeInfo(page, rows));
		return js;
	}

}
